<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
 <body>
	<form action="${pageContext.request.contextPath}/VoteServlet?method=backLogin" method="post">
		<table border="1" align="center">
			<caption>管理员登录</caption>
			<tr>
				<th>用户名</th>
				<td><input type="text" name="username"/></td>
			</tr>
			<tr>
				<th>密码</th>
				<td><input type="password" name="password"/></td>
			</tr>
			<tr>
				<th>角色</th>
				<td>
					<input type="radio" name="role" value="admin"/>管理员		
					<input type="radio" name="role" value="user" checked/>普通用户		
				</td>
			</tr>
			<tr>
				<td colspan="2" align="center">
					<input type="submit" value="登录"/>
				</td>
			</tr>
		</table>
	</form>
  </body>
</html>
